﻿
namespace Traceability.Api.Consul
{
    public class ConsulConfigs
    {


        public string Address { get; set; }
        public string DataCenter { get; set; }
        public string ServiceName { get; set; }
        public int ServicePort { get; set; }
        public string HealthCheck { get; set; }

        public string localhost { get; set; }

        public void Config(ConsulConfigs config)
        {
            Address = config.Address;
            DataCenter = config.DataCenter;
            ServiceName = config.ServiceName;
            ServicePort = config.ServicePort;
            HealthCheck = config.HealthCheck;
            localhost = config.localhost;
        }

    }
}
